from ConfigParser import *

class configuration:
    def __init__(self):
        parser = ConfigParser()
        parser.read('/etc/cpm.conf')
        self.DbPath = parser.get('database','DbPath')
        self.DbName = parser.get('database','DbName')
        self.LogType = parser.get('logs','LogType')
        self.LogPath = parser.get('logs','LogPath')
        self.PkgsyncPath = parser.get('pkgsync','PkgsyncPath')

